package com.iwdm.renovation.ui.myhome;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.iwdm.renovation.R;
import com.iwdm.renovation.ui.BaseFragment;

public class myHomeFragment extends BaseFragment {

    private Button button;
    public myHomeFragment(Context mContext) {
        super(mContext);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View rootView =inflater.inflate(R.layout.fragment_my_home, container, false);
        rootView.findViewById(R.id.my_home_btn).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                v.setVisibility(View.GONE);
                rootView.findViewById(R.id.linear).setVisibility(View.VISIBLE);
            }
        });
        return rootView;
    }
}
